import request from '@/utils/request'

// 查询静态配置列表
export function listFixation(query) {
  return request({
    url: '/funct/fixation/list',
    method: 'get',
    params: query
  })
}

// 查询静态配置详细
export function getFixation(id) {
  return request({
    url: '/funct/fixation/' + id,
    method: 'get'
  })
}

// 新增静态配置
export function addFixation(data) {
  return request({
    url: '/funct/fixation',
    method: 'post',
    data: data
  })
}

// 修改静态配置
export function updateFixation(data) {
  return request({
    url: '/funct/fixation',
    method: 'put',
    data: data
  })
}

// 删除静态配置
export function delFixation(id) {
  return request({
    url: '/funct/fixation/' + id,
    method: 'delete'
  })
}
